package com.cuiyun97.controller.h5;

import com.cuiyun97.result.Result;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 广告位请求接口
 *
 *  包含: icon, swiper, ad, version ...
 *
 */
@Slf4j
@RestController
@RequestMapping("/h5/ad")
@Api(tags = "广告位接口")
public class AdController {

    /**
     * 查询版权
     *
     * @return
     */
    @GetMapping("/version")
    @ApiOperation("查询版权")
    public Result queryVersion() {

        return Result.success();
    }

    /**
     * 查询图标
     *
     * @return
     */
    @GetMapping("/icon")
    @ApiOperation("查询图标")
    public Result queryIcon() {

        return Result.success();
    }

    /**
     * 查询广告位
     *
     * @return
     */
    @GetMapping("/ad")
    @ApiOperation("查询广告位")
    public Result queryAd() {

        return Result.success();
    }

    /**
     * 查询轮播图
     *
     * @return
     */
    @GetMapping("/swiper")
    @ApiOperation("查询轮播图")
    public Result querySwiper() {

        return Result.success();
    }


}
